import java.io._
import java.util._

object Tests extends App {
  new File("tests").mkdir()
  var testID = 0
  def write(a: Int, b: Int) {
    testID += 1
    val inf = new PrintWriter(f"tests/$testID%02d")
    inf.println(s"$a $b")
    inf.close()
    val ouf = new PrintWriter(f"tests/$testID%02d.a")
    ouf.println(a + b)
    ouf.close()
  }
  for (a <- -10 to 10 by 10) {
    for (b <- -2 to 2) {
      write(a, b)
    }
  }
  val rng = new Random(239666)
  for (t <- 0 until 10) {
    write(rng.nextInt(2000000000) - 1000000000, rng.nextInt(2000000000) - 1000000000)
  }
}
